﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static Model.RoomTypemenu;

namespace Model
{
    /// <summary>
    /// 房号
    /// </summary>
    public class RoomNumberModel
    {
        [Key]
        public int Id { get; set; }
        /// <summary>
        /// 房号
        /// </summary>
        public string? NumberName { get; set; }
        /// <summary>
        /// 房间状态
        /// </summary>
        public Roomleixing RoomeStateId { get; set; }
        /// <summary>
        /// 房型Id
        /// </summary>
        public int RoomTypeId { get; set; }
        /// <summary>
        /// 房号状态
        /// </summary>
        public int State { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string? RoomDesc { get; set; }
        /// <summary>
        /// 逻辑删除
        /// </summary>
        public bool IsDelete { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime Createtime { get; set; } = DateTime.Now;
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime Updatetime { get; set; } = DateTime.Now;
    }
}
